/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package arraydependentstack.java;

/**
 *
 * @author mweya
 */
public class StackOverflowException extends Exception {
    public String StackOverflowException(String message) {
        return message;
    }
    
    public StackOverflowException(){
        System.err.println("The stack's overflowed");
    }
}